{extends file="../acp.html"}

{block name="title"}{$head_title}{/block}
{block name="content"}
<form id="J_FormArticle" action="" method="post">
    <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>楼层名称：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="small" name="storey_name" id="storey_name"
                   value="{$info.storey_name}">
            <span class="fi-help-text hide"></span>
        </div>
    </div>


    <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>{if $incubator_type == 1}总房间数{else}总工位数{/if}：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="mini" name="rooms_num" id="rooms_num"
                   value="{$info.rooms_num}">
            <span class="fi-help-text hide"></span>
        </div>
    </div>

    {if $incubator_type == 1}
    <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>建筑面积：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="small" name="covered_area" id="covered_area"
                   value="{$info.covered_area}">
            <span class="fi-help-text hide"></span>
        </div>
    </div>

    <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>实用面积：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="small" name="usable_area" id="usable_area"
                   value="{$info.usable_area}">
            <span class="fi-help-text hide"></span>
        </div>
    </div>

    <div class="formitems inline">
        <label class="fi-name">楼层备注：</label>
        <div class="form-controls">
            <textarea placeholder="" class="xlarge" name="storey_remark" id="storey_remark">{$info.storey_remark}</textarea>
            <span class="fi-help-text hide"></span>
        </div>
    </div>
    {/if}

    <div class="formitems inline">
        <label class="fi-name">排序号：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="mini" name="serial" id="serial"
                   value="{$info.serial}">
            <span class="fi-help-text hide"></span>
        </div>
    </div>

    <div class="formitems inline">
        <label class="fi-name"></label>
        <div class="form-controls">
            <input type="hidden" name="act" value="{$act}"/>
            <input type="hidden" name="incubator_id" value="{$incubator_id}"/>
            <input type="hidden" name="storey_id" value="{$storey_id}"/>
            <input type="hidden" name="incubator_type" value="{$incubator_type}"/>
            <button type="submit" class="btn btn-blue"><i class="gicon-check white"></i>保存</button>
        </div>
    </div>
</form>
{/block}